package com.primeton.eos.oss.model.result;
/***
 *  业务异常类
 * @author hudaheng
 *
 */
public class BusinessException extends RuntimeException{
	
	   private static final long serialVersionUID = -2194049526113051273L;
	    private String errorCode;
	    private String errorMessage;

	    /**
	     * @param errorCode
	     * @param errorMessage
	     */
	    public BusinessException(String errorCode, String errorMessage){
	        super();
	        this.errorCode = errorCode;
	        this.errorMessage = errorMessage;
	    }

	    public String getErrorCode() {
	        return errorCode;
	    }

	    public void setErrorCode(String errorCode) {
	        this.errorCode = errorCode;
	    }

	    public String getErrorMessage() {
	        return errorMessage;
	    }

	    public void setErrorMessage(String errorMessage) {
	        this.errorMessage = errorMessage;
	    }

}
